<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}{% endblock %}</title>
    <style>
        .all_frame{
{#            width: 1200px;#}
            height: 600px;
            padding-left: 30px;
            padding-right: 30px;
{#            background: #A8C8DD;#}
        }
        .nav{
            background: #494645;
            height: 55px;
            font-size: 25px;
        }
        ul{
            overflow: hidden;
        }
        ul li{
            float: left;
            list-style: none;
            padding: 5px 10px;
{#            line-height: 55px;#}

        }
        ul Li a{
            color: #ffffff;
        }
    </style>
</head>
<body>
    <div class="all_frame">
        <div class="nav">
            <ul>
                <li><a href="#">首页</a> </li>
                <li><a href="#">发布问答</a> </li>
            </ul>
        </div>
        {% block nav_list %}{% endblock %}
        {% block nav %}{% endblock %}
    </div>
</body>
</html>